package com.FH.organization.emailRevice;

import com.FH.organization.emailSend.emailsendPullDTO;
import com.FH.util.ResultDTO;

/**
 * Created by Administrator on 2016/9/5.
 */
public interface emailDAO {

    public ResultDTO getemailInfo(String search, String page, String size);

    public ResultDTO getemail_sedInfo(String search, String page, String size);

    public ResultDTO addemailInfo(emailPullDTO emailDTO);

    public ResultDTO addsendinfo(emailsendPullDTO emailsend);

    public ResultDTO deleteEmailInfo(emailPullDTO emailDTO);
    public ResultDTO updateEmailInfo(emailPullDTO emailDTO);
//    public ResultDTO deleteEmailreceiverInfo(emailPullDTO emailDTO);

    public ResultDTO deleteEmailsendInfo(emailsendPullDTO emailDTO);
    public ResultDTO updateEmailsendInfo(emailsendPullDTO emailDTO);

    public ResultDTO sendEmail(emailsendPullDTO emailsend);

    public ResultDTO receiverEmail(String search);

}
